<template>
  <div
    v-if="productDetail?.description && Array.isArray(productDetail?.description)"
    class="des_content">
    <img v-for="item in productDetail?.description || []" :src="item" class="img_des" />
  </div>
</template>

<script setup lang="ts">
  const props = defineProps({
    productDetail: { type: Object, default: () => {} },
  });
</script>

<style scoped lang="scss">
  .des_content {
    width: 100%;
    padding-left: 24px;
    .img_des {
      width: 100%;
      height: auto;
    }
  }
</style>
